/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.membros.database.entities;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import br.com.membros.database.utils.BaseEntity;

@Entity
@Table(name = "tb_agenda")
public class AgendaEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Id
	@GeneratedValue
    @Column(name = "ID_AGENDA")
    private Long idAgenda;
    
    @Column(name = "ID_USUARIO")
    private int idUsuario;
    
    @Column(name = "DS_AGENDA")
    private String dsAgenda;
    
    @Column(name = "DT_INICIO")
    @Temporal(TemporalType.TIMESTAMP)
    private Date dtInicio;
    
    @Column(name = "DT_FIM")
    @Temporal(TemporalType.TIMESTAMP)
    private Date dtFim;
    
    @Column(name = "DS_OSERVACAO")
    private String dsOservacao;

    public AgendaEntity() {
    }

    public AgendaEntity(Long idAgenda) {
        this.idAgenda = idAgenda;
    }

    public AgendaEntity(Long idAgenda, int idUsuario, String dsAgenda, Date dtInicio, Date dtFim) {
        this.idAgenda = idAgenda;
        this.idUsuario = idUsuario;
        this.dsAgenda = dsAgenda;
        this.dtInicio = dtInicio;
        this.dtFim = dtFim;
    }

    public Long getIdAgenda() {
        return idAgenda;
    }

    public void setIdAgenda(Long idAgenda) {
        this.idAgenda = idAgenda;
    }

    public int getIdUsuario() {
        return idUsuario;
    }

    public void setIdUsuario(int idUsuario) {
        this.idUsuario = idUsuario;
    }

    public String getDsAgenda() {
        return dsAgenda;
    }

    public void setDsAgenda(String dsAgenda) {
        this.dsAgenda = dsAgenda;
    }

    public Date getDtInicio() {
        return dtInicio;
    }

    public void setDtInicio(Date dtInicio) {
        this.dtInicio = dtInicio;
    }

    public Date getDtFim() {
        return dtFim;
    }

    public void setDtFim(Date dtFim) {
        this.dtFim = dtFim;
    }

    public String getDsOservacao() {
        return dsOservacao;
    }

    public void setDsOservacao(String dsOservacao) {
        this.dsOservacao = dsOservacao;
    }

    
}
